package edu.zju.udms.dnavigator.entities.kettle;

import edu.zju.udms.dnavigator.core.entity.AttributeType;
import edu.zju.udms.dnavigator.core.entity.AttributeTypeEnum;
import edu.zju.udms.dnavigator.core.entity.Record;

public class KettleTransformRecord  extends Record {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7551016039226695741L;

	@AttributeType(AttributeTypeEnum.Key)
	int jobId;

	@AttributeType(AttributeTypeEnum.Normal)
	String date;

	@AttributeType(AttributeTypeEnum.Normal)
	int read, write, update, input, output, reject, errors;
	
	public KettleTransformRecord () {}
	
	public KettleTransformRecord(String sourceKey, int originalId, String date,
			int read, int write, int update, int input, int output, int reject, int errors) {
		super(sourceKey, originalId);
		this.jobId = -1;
		this.date = date;
		this.read = read;
		this.write = write;
		this.update = update;
		this.input = input;
		this.output = output;
		this.reject = reject;
		this.errors = errors;
	}
}
